package com.netsmart.util;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class RandomStringUtil {
	public static String RandomString() {
		String ku = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
		StringBuilder newStr = new StringBuilder();
		Random r = new Random();
		for (int j = 0; j < 6; j++) {
			int r2 = r.nextInt(ku.length());
			newStr.append(ku.charAt(r2));
		}
		return newStr.toString();
	}
	public static void main(String[] args) {
		for(int i=0;i<100;i++) {
			
			System.out.println(RandomString());
		}
	}
}
